import VueRouter from "vue-router"
import header from "./components/main/header.vue"
import content from "./components/main/content.vue"
import footer_component from "./components/main/footer_component.vue"


import hero from "./components/nav/Hero.vue"

let router = new VueRouter({
   routes:[
       {path:"/",redirect:"/home"},
       {path:"/home",components:{
                header,
                content,
                footer_component
           }},
       {path:"/home/hero",component:hero},

   ]
});
export default router;